package com.zcpt.pojo;
/**
 * 实体类
 * @author Administrator
 *
 */
public class Sponsor {

	private int sponsorId;// 发起者id not null
	private String sponsorName;// 发起者姓名 not null
	private String sponsorGender;// 发起者性别 not null
	private String sponsorPhone;// 发起者手机 not null
	private Project project;// 发起的项目

	public int getSponsorId() {
		return sponsorId;
	}

	public void setSponsorId(int sponsorId) {
		this.sponsorId = sponsorId;
	}

	public String getSponsorName() {
		return sponsorName;
	}

	public void setSponsorName(String sponsorName) {
		this.sponsorName = sponsorName;
	}

	public String getSponsorGender() {
		return sponsorGender;
	}

	public void setSponsorGender(String sponsorGender) {
		this.sponsorGender = sponsorGender;
	}

	public String getSponsorPhone() {
		return sponsorPhone;
	}

	public void setSponsorPhone(String sponsorPhone) {
		this.sponsorPhone = sponsorPhone;
	}

	public Project getProject() {
		return project;
	}

	public void setProject(Project project) {
		this.project = project;
	}

	@Override
	public String toString() {
		return "Sponsor [sponsorId=" + sponsorId + ", sponsorName=" + sponsorName + ", sponsorGender=" + sponsorGender
				+ ", sponsorPhone=" + sponsorPhone + ", project=" + project + "]";
	}

}
